use strict;
use warnings;

use EMS::Model::Event;
use EMS::Model::Pilot;

package EMS::Model::Comment::Schema;
use Jifty::DBI::Schema;

# Your column definitions go here.  See L<Jifty::DBI::Schema> for
# documentation about how to write column definitions.

column event =>
    refers_to EMS::Model::Event,
    is mandatory;

column author =>
    refers_to EMS::Model::Pilot,
    is mandatory;

column content =>
    type is 'text',
    is mandatory;

column post_time =>
    type is 'int unsigned',
    is mandatory;

package EMS::Model::Comment;
use base qw/EMS::Record/;

# Your model-specific methods go here.

#package EMS::Model::CommentCollection;
#use base qw/EMS::Collection/;

# okay; I think?

1;
